package com.facade.facade;

/**
 * 影院的外观，
 * 为了回顾以前的知识，这里用 饿汉式单例（静态代码块）创建
 */
public class Screen {

    private static Screen screen ;

    private Screen(){}

    static {
        screen = new Screen();
    }

    public static Screen getInstance(){
        return screen;
    }


    public void down(){
        System.out.println(" Screen  down ... ");
    }

    public void up(){
        System.out.println(" Screen  up ... ");
    }

}
